execute if score $sire_language sireconfig matches 1 run tellraw @a [{"text":"闪电召唤","hoverEvent":{"action":"show_text","value":"sire_lightning"}}]
execute if score $sire_language sireconfig matches 1 if score $sire_lightning sireconfig matches 1 run tellraw @a [{"text":"\u00A7a[开]","clickEvent":{"action":"run_command","value":"/function sire:config/setvalue/lightning0"},"hoverEvent":{"action":"show_text","value":"点击关闭闪电召唤"}}]
execute if score $sire_language sireconfig matches 1 if score $sire_lightning sireconfig matches 0 run tellraw @a [{"text":"\u00A7c[关]","clickEvent":{"action":"run_command","value":"/function sire:config/setvalue/lightning"},"hoverEvent":{"action":"show_text","value":"点击开启闪电召唤"}}]
execute if score $sire_language sireconfig matches 0 run tellraw @a [{"text":"Lightling summon","hoverEvent":{"action":"show_text","value":"sire_lightning"}}]
execute if score $sire_language sireconfig matches 0 if score $sire_lightning sireconfig matches 1 run tellraw @a [{"text":"\u00A7a[ON]","clickEvent":{"action":"run_command","value":"/function sire:config/setvalue/lightning0"},"hoverEvent":{"action":"show_text","value":"Click disabled lightning summon"}}]
execute if score $sire_language sireconfig matches 0 if score $sire_lightning sireconfig matches 0 run tellraw @a [{"text":"\u00A7c[OFF]","clickEvent":{"action":"run_command","value":"/function sire:config/setvalue/lightning"},"hoverEvent":{"action":"show_text","value":"Click enabled lightning summon"}}]